#include <stdio.h>
#include <unistd.h>
int main (void)
{
    int n = 0;
    while(1)
    {
        printf("%d\n",n++);
        sleep(1);
    }
}